package sctu.edu.java.year2016.team07.shihaocheng.day20160530.chapter9_2;

import sctu.edu.java.year2016.team01.renxinpeng.day20160526.chapter8_2.Count;

import javax.xml.soap.AttachmentPart;

/**
 * Created by admin on 2016/5/30.
 */
public class Part {

    public double x;
    public double y;


    public void Count(double a,double b){
        class Apart{
                double m ;
                double n ;
            public Apart(double a,double b){
                m = a;
                n = b;
                }

            void count(){
                System.out.println(""+m*n);
                }


            }
        Apart apart = new Apart(a,b);
        apart.count();
        }


    }

